package name.vaccari.matteo.tai.phonedirectory.network;

public class MockServlet implements Servlet {

	private final String body;
	private String lastPath;

	public MockServlet(String body) {
		this.body = body;
	}

	public String doGet(String path) {
		this.lastPath = path;
		return body;
	}

	public String getLastPath() {
		return lastPath;
	}

}
